
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<header class="pc-header">
    <div class="m-header">
        <a href="index.jsp" class="b-brand">
            <!-- ========   change your logo hear   ============ -->
            <img src="/myhouse/static/mediator/images/logo-dark.svg" alt="" class="logo logo-lg" />
        </a>
        <!-- ======= Menu collapse Icon ===== -->
        <div class="pc-h-item">
            <a href="#" class="pc-head-link head-link-secondary m-0" id="sidebar-hide">
                <i class="ti ti-menu-2"></i>
            </a>
        </div>
    </div>
        <!-- [Mobile Media Block end] -->
        <div class="ms-auto">
            <ul class="list-unstyled">
                <li class="dropdown pc-h-item">
                    <c:if test="${empty sessionScope.mediator.mediatorName}">
                        <a href="/myhouse/mediator/login" style="font-size: 20px">登录</a><span style="font-size: 20px">&nbsp;&nbsp;&nbsp;&nbsp;|</span>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <a href="/myhouse/mediator/register" style="font-size: 20px">注册</a>
                    </c:if>
                   <c:if test="${not empty sessionScope.mediator.mediatorName}">
                       <span style="font-size: 20px">欢迎您！${sessionScope.mediator.mediatorName}</span>
                       &nbsp;&nbsp;&nbsp;&nbsp;
                       <a href="/myhouse/mediator/exit" style="font-size: 20px">退出</a>
                   </c:if>
                  </li>
                <li>
                    <div style="width: 150px"></div>
                </li>
                </ul>
        </div>
</header>